{extend name="index_layout"/}
{block name="main"}
<div class="layui-card">
    <div class="layui-card-body">
        <div class="layui-tab layui-tab-card">
            <ul class="layui-tab-title">
                <li class="layui-this">基本信息</li>
                <li class="">请求参数</li>
                <li class="">请求结果</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <div class="layui-card">
                        <div class="layui-card-header">基本信息</div>
                        <div class="layui-card-body">
                            <form class="layui-form" method="post">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">请求地址</label>
                                    <div class="layui-input-inline w350">
                                        <input type="text" name="url" lay-verify="required" value="{$info.url}" autocomplete="off" placeholder="" class="layui-input">
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">请求方法</label>
                                    <div class="layui-input-inline w350">
                                        <input type="text" name="request_method" lay-verify="required" value="{$info.request_method}" autocomplete="off" placeholder="" class="layui-input">
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">请求时间</label>
                                    <div class="layui-input-inline w350">
                                        <input type="text" name="create_time" autocomplete="off" placeholder="" class="layui-input" value="{$info.create_time}">
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">IP地址</label>
                                    <div class="layui-input-inline w350">
                                        <input type="text" name="request_ip" autocomplete="off" placeholder="" class="layui-input" value="{$info.request_ip}">
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">客户端</label>
                                    <div class="layui-input-inline w350">
                                        <textarea name="request_param" placeholder="" class="layui-textarea" style="height:100px;">{$info.http_user_agent}</textarea>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>

                </div>
                <div class="layui-tab-item">
                    <div class="layui-card">
                        <div class="layui-card-header">请求参数</div>
                        <div class="layui-card-body">
                            <form class="layui-form" method="post">
                                <div class="layui-form-item layui-form-text">
                                    <div class="layui-input-inline w300">
                                        <textarea name="request_param" placeholder="" class="layui-textarea" style="height:180px; width:480px;">{$info.request_param}</textarea>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>

                </div>
                <div class="layui-tab-item">
                    <div class="layui-card">
                        <div class="layui-card-header">请求结果</div>
                        <div class="layui-card-body">
                            <form class="layui-form" method="post">
                                <div class="layui-form-item layui-form-text">
                                    <div class="layui-input-inline w300">
                                        <textarea name="response_text" placeholder="" class="layui-textarea" style="height:180px; width:480px;">{$info.response_text}</textarea>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
{/block}
{block name="script"}
<script></script>
{/block}